﻿using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace iTeamyou.LTS.MigrationTool
{
	public class MangoResource
	{
        [BsonId]
        [BsonRepresentation(BsonType.ObjectId)]
        public string sid { get; set; }

        public long id { get; set; }
        public string name { get; set; }
        public long update_time { get; set; }
        public long start_time { get; set; }
        public long end_time { get; set; }
        public string filename { get; set; }
        public int cert_group_id { get; set; }
        public string meta { get; set; }
        public string store_name { get; set; }
        public int is_delete { get; set; }
    }

    public class Meta
    {
        public string Ext { get; set; }
        public string Md5 { get; set; }
    }
}

